package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;

import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class CopyDTO extends ProjectIdDTO {
    @NotBlank(message = ParamErrorConstants.NO_PROJECT_ID)
    private String projectId;

    @Schema(title = "需要复制的模型id")
    @NotBlank(message = ParamErrorConstants.NO_INSTANCE_ID)
    private String instanceId;

    @Schema(title = "粘贴树节点的模型id")
    @NotBlank(message = ParamErrorConstants.NO_TARGET_INSTANCE_ID)
    private String targetInstanceId;

    @Schema(title = "粘贴目标项目id")
    private String targetProjectId;
}
